package com.have.blog.admin.redis;

import java.util.Map;
import java.util.concurrent.TimeUnit;

public interface AdminSysDictDataCacheService {
    Map<String, Object> getDictData(String dictType);
    void saveDictData(Map<String, Object> data, String dictType, long expiration, TimeUnit timeUnit);
    void delDictData(String dictType);
    Map<String, Object> getDataListByDictType(String dictType);
    void saveDataListByDictType(Map<String, Object> data, String dictType, long expiration, TimeUnit timeUnit);
    void delDataListByDictType(String dictType);
}
